package com.platform.api.bzproject.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.platform.api.bzproject.model.BzTalent;
import com.platform.api.bzproject.vo.TalentVo;
import org.apache.ibatis.annotations.Param;


import java.util.List;
import java.util.Map;

/**
 * <p>
 * 达人注册表 服务类
 * </p>
 *
 * @author guoshao
 * @since 2021-10-22
 */
public interface IBzTalentService extends IService<BzTalent> {

    List<Map<String,Object>> selectLimitBzTalent();

    PageInfo<TalentVo> selectBzTalentList(TalentVo talentVo, Integer offset);

    void adduserInfo (BzTalent talent);

    void adduserInfoNew (BzTalent talent);

    TalentVo selectByWord(TalentVo talentVo);

    PageInfo<TalentVo> selectInvitationRecord(Map<String,Object> map,Integer offset);

    PageInfo<TalentVo> apprevoList(Map<String,Object> map,Integer offset);

    int updateRecommenderWord(String word,String recommenderWord);


}
